/**
 * 角色配置接口
 */
export interface CharacterConfig {
    width?: number;
    height?: number;
    backgroundColor?: number;
    body?: string;
    clothes?: string;
    hat?: string;
    leftHand?: string;
    rightHand?: string;
    leftHandPosition?: { x: number; y: number };
    rightHandPosition?: { x: number; y: number };
    onAnimationStart?: (name: string) => void;
    onAnimationEnd?: (name: string) => void;
    onSpeechStart?: (text: string) => void;
    onSpeechEnd?: (text: string) => void;
    onError?: (error: string) => void;
} 